package com.ht.service.aduit.impl;

import com.ht.util.Pager;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ht.dao.aduit.CharactersMapper;
import com.ht.bean.aduit.Characters;
import com.ht.service.aduit.CharactersService;

import java.util.List;

/**
 * @author lrq
 * @date 2020/6/28 19:14
 * 
 */
@Service
public class CharactersServiceImpl implements CharactersService{

    @Resource
    private CharactersMapper charactersMapper;

    @Override
    public List<Characters> sybase(Pager pager) {
        return charactersMapper.sybase(pager);
    }

    @Override
    public int selCount() {
        return charactersMapper.selCount();
    }

    @Override
    public int deleteByPrimaryKey(Integer characterid) {
        return charactersMapper.deleteByPrimaryKey(characterid);
    }

    @Override
    public int insert(Characters record) {
        return charactersMapper.insert(record);
    }

    @Override
    public int insertSelective(Characters record) {
        return charactersMapper.insertSelective(record);
    }

    @Override
    public Characters selectByPrimaryKey(Integer characterid) {
        return charactersMapper.selectByPrimaryKey(characterid);
    }

    @Override
    public int updateByPrimaryKeySelective(Characters record) {
        return charactersMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Characters record) {
        return charactersMapper.updateByPrimaryKey(record);
    }

}
